[INFO] fetching crate psp 0.1.1...
[INFO] checking psp-0.1.1 against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] extracting crate psp 0.1.1 into /workspace/builds/worker-9/source
[INFO] validating manifest of crates.io crate psp 0.1.1 on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate psp 0.1.1
[INFO] finished tweaking crates.io crate psp 0.1.1
[INFO] tweaked toml for crates.io crate psp 0.1.1 written to /workspace/builds/worker-9/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] e2b3321f72147451ee0d05da37719f151098c2cf7b8ca4724345345a0185ca11
[INFO] running `Command { std: "docker" "start" "-a" "e2b3321f72147451ee0d05da37719f151098c2cf7b8ca4724345345a0185ca11", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e2b3321f72147451ee0d05da37719f151098c2cf7b8ca4724345345a0185ca11", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e2b3321f72147451ee0d05da37719f151098c2cf7b8ca4724345345a0185ca11", kill_on_drop: false }`
[INFO] [stdout] e2b3321f72147451ee0d05da37719f151098c2cf7b8ca4724345345a0185ca11
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7b58a719efe31496798c6754b1c34d046613978f65868fd2b39abfe3f8c0fd23
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "7b58a719efe31496798c6754b1c34d046613978f65868fd2b39abfe3f8c0fd23", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.21
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling psp v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling syn v1.0.40
[INFO] [stderr]    Compiling num_enum_derive v0.5.1
[INFO] [stderr]    Compiling derivative v2.1.1
[INFO] [stderr]     Checking num_enum v0.5.1
[INFO] [stdout] error[E0152]: found duplicate lang item `oom`
[INFO] [stdout]   --> src/alloc_impl.rs:58:1
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn aeh(_: Layout) -> ! { loop {} }
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the lang item is first defined in crate `std` (which `test` depends on)
[INFO] [stdout]    = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/af3c6e733a40e671550e0f0f5aeecaa13772ba56/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-faa3fd6c69b73b7d.rlib
[INFO] [stdout]    = note: second definition in the local crate (`psp`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]   --> src/panic.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn panic(info: &PanicInfo) -> ! {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the lang item is first defined in crate `std` (which `test` depends on)
[INFO] [stdout]    = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/af3c6e733a40e671550e0f0f5aeecaa13772ba56/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-faa3fd6c69b73b7d.rlib
[INFO] [stdout]    = note: second definition in the local crate (`psp`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `psp`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: the feature `const_loop` has been stable since 1.46.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     const_loop,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `const_if_match` has been stable since 1.46.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     const_if_match,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `thread::ThreadAttributes`, which is not FFI-safe
[INFO] [stdout]    --> src/sys/kernel/thread.rs:470:15
[INFO] [stdout]     |
[INFO] [stdout] 470 |         attr: ThreadAttributes,
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout]     = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]     = note: this struct has unspecified layout
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]    --> src/sys/kernel/thread.rs:60:1
[INFO] [stdout]     |
[INFO] [stdout] 60  | / bitflags::bitflags! {
[INFO] [stdout] 61  | |     /// Attributes for threads.
[INFO] [stdout] 62  | |     pub struct ThreadAttributes: u32 {
[INFO] [stdout] 63  | |         /// Enable VFPU access for the thread.
[INFO] [stdout] ...   |
[INFO] [stdout] 84  | |     }
[INFO] [stdout] 85  | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `thread::ThreadAttributes`, which is not FFI-safe
[INFO] [stdout]    --> src/sys/kernel/thread.rs:705:15
[INFO] [stdout]     |
[INFO] [stdout] 705 |         attr: ThreadAttributes,
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]     = note: this struct has unspecified layout
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]    --> src/sys/kernel/thread.rs:60:1
[INFO] [stdout]     |
[INFO] [stdout] 60  | / bitflags::bitflags! {
[INFO] [stdout] 61  | |     /// Attributes for threads.
[INFO] [stdout] 62  | |     pub struct ThreadAttributes: u32 {
[INFO] [stdout] 63  | |         /// Enable VFPU access for the thread.
[INFO] [stdout] ...   |
[INFO] [stdout] 84  | |     }
[INFO] [stdout] 85  | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `thread::EventFlagAttributes`, which is not FFI-safe
[INFO] [stdout]    --> src/sys/kernel/thread.rs:965:15
[INFO] [stdout]     |
[INFO] [stdout] 965 |         attr: EventFlagAttributes,
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]     = note: this struct has unspecified layout
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]    --> src/sys/kernel/thread.rs:87:1
[INFO] [stdout]     |
[INFO] [stdout] 87  | / bitflags::bitflags!{
[INFO] [stdout] 88  | |     /// Event flag creation attributes.
[INFO] [stdout] 89  | |     pub struct EventFlagAttributes: u32 {
[INFO] [stdout] 90  | |         /// Allow the event flag to be waited upon by multiple threads.
[INFO] [stdout] 91  | |         const WAIT_MULTIPLE = 0x200;
[INFO] [stdout] 92  | |     }
[INFO] [stdout] 93  | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `EventFlagWaitTypes`, which is not FFI-safe
[INFO] [stdout]     --> src/sys/kernel/thread.rs:1012:15
[INFO] [stdout]      |
[INFO] [stdout] 1012 |         wait: EventFlagWaitTypes,
[INFO] [stdout]      |               ^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]      |
[INFO] [stdout]      = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]      = note: this struct has unspecified layout
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]     --> src/sys/kernel/thread.rs:95:1
[INFO] [stdout]      |
[INFO] [stdout] 95   | / bitflags::bitflags! {
[INFO] [stdout] 96   | |     /// Event flag wait types
[INFO] [stdout] 97   | |     pub struct EventFlagWaitTypes: u32 {
[INFO] [stdout] 98   | |         /// Wait for all bits in the pattern to be set
[INFO] [stdout] ...    |
[INFO] [stdout] 104  | |     }
[INFO] [stdout] 105  | | }
[INFO] [stdout]      | |_^
[INFO] [stdout]      = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `EventFlagWaitTypes`, which is not FFI-safe
[INFO] [stdout]     --> src/sys/kernel/thread.rs:1033:15
[INFO] [stdout]      |
[INFO] [stdout] 1033 |         wait: EventFlagWaitTypes,
[INFO] [stdout]      |               ^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]      |
[INFO] [stdout]      = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]      = note: this struct has unspecified layout
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]     --> src/sys/kernel/thread.rs:95:1
[INFO] [stdout]      |
[INFO] [stdout] 95   | / bitflags::bitflags! {
[INFO] [stdout] 96   | |     /// Event flag wait types
[INFO] [stdout] 97   | |     pub struct EventFlagWaitTypes: u32 {
[INFO] [stdout] 98   | |         /// Wait for all bits in the pattern to be set
[INFO] [stdout] ...    |
[INFO] [stdout] 104  | |     }
[INFO] [stdout] 105  | | }
[INFO] [stdout]      | |_^
[INFO] [stdout]      = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `EventFlagWaitTypes`, which is not FFI-safe
[INFO] [stdout]     --> src/sys/kernel/thread.rs:1054:15
[INFO] [stdout]      |
[INFO] [stdout] 1054 |         wait: EventFlagWaitTypes,
[INFO] [stdout]      |               ^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]      |
[INFO] [stdout]      = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]      = note: this struct has unspecified layout
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]     --> src/sys/kernel/thread.rs:95:1
[INFO] [stdout]      |
[INFO] [stdout] 95   | / bitflags::bitflags! {
[INFO] [stdout] 96   | |     /// Event flag wait types
[INFO] [stdout] 97   | |     pub struct EventFlagWaitTypes: u32 {
[INFO] [stdout] 98   | |         /// Wait for all bits in the pattern to be set
[INFO] [stdout] ...    |
[INFO] [stdout] 104  | |     }
[INFO] [stdout] 105  | | }
[INFO] [stdout]      | |_^
[INFO] [stdout]      = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `UsbState`, which is not FFI-safe
[INFO] [stdout]   --> src/sys/usb.rs:94:32
[INFO] [stdout]    |
[INFO] [stdout] 94 |     pub fn sceUsbGetState() -> UsbState;
[INFO] [stdout]    |                                ^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]    = note: this struct has unspecified layout
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/sys/usb.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / bitflags::bitflags! {
[INFO] [stdout] 13 | |     pub struct UsbState: i32 {
[INFO] [stdout] 14 | |         const ACTIVATED = 0x200;
[INFO] [stdout] 15 | |         const CONNECTED = 0x020;
[INFO] [stdout] 16 | |         const ESTABLISHED = 0x002;
[INFO] [stdout] 17 | |     }
[INFO] [stdout] 18 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `UsbCamReverseFlags`, which is not FFI-safe
[INFO] [stdout]    --> src/sys/usb.rs:656:51
[INFO] [stdout]     |
[INFO] [stdout] 656 |     pub fn sceUsbCamSetReverseMode(reverse_flags: UsbCamReverseFlags) -> i32;
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]     = note: this struct has unspecified layout
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]    --> src/sys/usb.rs:272:1
[INFO] [stdout]     |
[INFO] [stdout] 272 | / bitflags::bitflags! {
[INFO] [stdout] 273 | |     /// Flags for reverse effects.
[INFO] [stdout] 274 | |     pub struct UsbCamReverseFlags: i32 {
[INFO] [stdout] 275 | |         const FLIP = 1;
[INFO] [stdout] 276 | |         const MIRROR = 0x100;
[INFO] [stdout] 277 | |     }
[INFO] [stdout] 278 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `IoOpenFlags`, which is not FFI-safe
[INFO] [stdout]    --> src/sys/io.rs:139:46
[INFO] [stdout]     |
[INFO] [stdout] 139 |     pub fn sceIoOpen(file: *const u8, flags: IoOpenFlags, permissions: IoPermissions) -> SceUid;
[INFO] [stdout]     |                                              ^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]     = note: this struct has unspecified layout
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]    --> src/sys/io.rs:104:1
[INFO] [stdout]     |
[INFO] [stdout] 104 | / bitflags::bitflags! {
[INFO] [stdout] 105 | |     pub struct IoOpenFlags: i32 {
[INFO] [stdout] 106 | |         const RD_ONLY = 0x0001;
[INFO] [stdout] 107 | |         const WR_ONLY = 0x0002;
[INFO] [stdout] ...   |
[INFO] [stdout] 116 | |     }
[INFO] [stdout] 117 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `IoOpenFlags`, which is not FFI-safe
[INFO] [stdout]    --> src/sys/io.rs:155:16
[INFO] [stdout]     |
[INFO] [stdout] 155 |         flags: IoOpenFlags,
[INFO] [stdout]     |                ^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]     = note: this struct has unspecified layout
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]    --> src/sys/io.rs:104:1
[INFO] [stdout]     |
[INFO] [stdout] 104 | / bitflags::bitflags! {
[INFO] [stdout] 105 | |     pub struct IoOpenFlags: i32 {
[INFO] [stdout] 106 | |         const RD_ONLY = 0x0001;
[INFO] [stdout] 107 | |         const WR_ONLY = 0x0002;
[INFO] [stdout] ...   |
[INFO] [stdout] 116 | |     }
[INFO] [stdout] 117 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `UmdStateFlags`, which is not FFI-safe
[INFO] [stdout]   --> src/sys/umd.rs:95:39
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn sceUmdWaitDriveStat(state: UmdStateFlags) -> i32;
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]    = note: this struct has unspecified layout
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/sys/umd.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / bitflags::bitflags! {
[INFO] [stdout] 20 | |     /// UMD drive state
[INFO] [stdout] 21 | |     pub struct UmdStateFlags: i32 {
[INFO] [stdout] 22 | |         const NOT_PRESENT = 0x01;
[INFO] [stdout] ...  |
[INFO] [stdout] 28 | |     }
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `UmdStateFlags`, which is not FFI-safe
[INFO] [stdout]    --> src/sys/umd.rs:112:16
[INFO] [stdout]     |
[INFO] [stdout] 112 |         state: UmdStateFlags,
[INFO] [stdout]     |                ^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]     = note: this struct has unspecified layout
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]    --> src/sys/umd.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout] 19  | / bitflags::bitflags! {
[INFO] [stdout] 20  | |     /// UMD drive state
[INFO] [stdout] 21  | |     pub struct UmdStateFlags: i32 {
[INFO] [stdout] 22  | |         const NOT_PRESENT = 0x01;
[INFO] [stdout] ...   |
[INFO] [stdout] 28  | |     }
[INFO] [stdout] 29  | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `UmdStateFlags`, which is not FFI-safe
[INFO] [stdout]    --> src/sys/umd.rs:131:16
[INFO] [stdout]     |
[INFO] [stdout] 131 |         state: UmdStateFlags,
[INFO] [stdout]     |                ^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]     = note: this struct has unspecified layout
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]    --> src/sys/umd.rs:19:1
[INFO] [stdout]     |
[INFO] [stdout] 19  | / bitflags::bitflags! {
[INFO] [stdout] 20  | |     /// UMD drive state
[INFO] [stdout] 21  | |     pub struct UmdStateFlags: i32 {
[INFO] [stdout] 22  | |         const NOT_PRESENT = 0x01;
[INFO] [stdout] ...   |
[INFO] [stdout] 28  | |     }
[INFO] [stdout] 29  | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `gu::VertexType`, which is not FFI-safe
[INFO] [stdout]     --> src/sys/gu.rs:1944:12
[INFO] [stdout]      |
[INFO] [stdout] 1944 |     vtype: VertexType,
[INFO] [stdout]      |            ^^^^^^^^^^ not FFI-safe
[INFO] [stdout]      |
[INFO] [stdout]      = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]      = note: this struct has unspecified layout
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]     --> src/sys/gu.rs:83:1
[INFO] [stdout]      |
[INFO] [stdout] 83   | / bitflags::bitflags! {
[INFO] [stdout] 84   | |     /// The vertex type decides how the vertices align and what kind of
[INFO] [stdout] 85   | |     /// information they contain.
[INFO] [stdout] 86   | |     pub struct VertexType: i32 {
[INFO] [stdout] ...    |
[INFO] [stdout] 154  | |     }
[INFO] [stdout] 155  | | }
[INFO] [stdout]      | |_^
[INFO] [stdout]      = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `LightComponent`, which is not FFI-safe
[INFO] [stdout]     --> src/sys/gu.rs:2208:17
[INFO] [stdout]      |
[INFO] [stdout] 2208 |     components: LightComponent,
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]      |
[INFO] [stdout]      = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]      = note: this struct has unspecified layout
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]     --> src/sys/gu.rs:486:1
[INFO] [stdout]      |
[INFO] [stdout] 486  | / bitflags::bitflags!(
[INFO] [stdout] 487  | |     /// Light Components
[INFO] [stdout] 488  | |     pub struct LightComponent: i32 {
[INFO] [stdout] 489  | |         const AMBIENT = 1;
[INFO] [stdout] ...    |
[INFO] [stdout] 495  | |     }
[INFO] [stdout] 496  | | );
[INFO] [stdout]      | |__^
[INFO] [stdout]      = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `LightComponent`, which is not FFI-safe
[INFO] [stdout]     --> src/sys/gu.rs:2254:65
[INFO] [stdout]      |
[INFO] [stdout] 2254 | pub unsafe extern "C" fn sceGuLightColor(light: i32, component: LightComponent, color: u32) {
[INFO] [stdout]      |                                                                 ^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]      |
[INFO] [stdout]      = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]      = note: this struct has unspecified layout
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]     --> src/sys/gu.rs:486:1
[INFO] [stdout]      |
[INFO] [stdout] 486  | / bitflags::bitflags!(
[INFO] [stdout] 487  | |     /// Light Components
[INFO] [stdout] 488  | |     pub struct LightComponent: i32 {
[INFO] [stdout] 489  | |         const AMBIENT = 1;
[INFO] [stdout] ...    |
[INFO] [stdout] 495  | |     }
[INFO] [stdout] 496  | | );
[INFO] [stdout]      | |__^
[INFO] [stdout]      = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `ClearBuffer`, which is not FFI-safe
[INFO] [stdout]     --> src/sys/gu.rs:2314:44
[INFO] [stdout]      |
[INFO] [stdout] 2314 | pub unsafe extern "C" fn sceGuClear(flags: ClearBuffer) {
[INFO] [stdout]      |                                            ^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]      |
[INFO] [stdout]      = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]      = note: this struct has unspecified layout
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]     --> src/sys/gu.rs:346:1
[INFO] [stdout]      |
[INFO] [stdout] 346  | / bitflags::bitflags! {
[INFO] [stdout] 347  | |     /// Clear Buffer Mask
[INFO] [stdout] 348  | |     pub struct ClearBuffer: u32 {
[INFO] [stdout] 349  | |         /// Clears the color buffer.
[INFO] [stdout] ...    |
[INFO] [stdout] 358  | |     }
[INFO] [stdout] 359  | | }
[INFO] [stdout]      | |_^
[INFO] [stdout]      = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `LightComponent`, which is not FFI-safe
[INFO] [stdout]     --> src/sys/gu.rs:2484:57
[INFO] [stdout]      |
[INFO] [stdout] 2484 | pub unsafe extern "C" fn sceGuColorMaterial(components: LightComponent) {
[INFO] [stdout]      |                                                         ^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]      |
[INFO] [stdout]      = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]      = note: this struct has unspecified layout
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]     --> src/sys/gu.rs:486:1
[INFO] [stdout]      |
[INFO] [stdout] 486  | / bitflags::bitflags!(
[INFO] [stdout] 487  | |     /// Light Components
[INFO] [stdout] 488  | |     pub struct LightComponent: i32 {
[INFO] [stdout] 489  | |         const AMBIENT = 1;
[INFO] [stdout] ...    |
[INFO] [stdout] 495  | |     }
[INFO] [stdout] 496  | | );
[INFO] [stdout]      | |__^
[INFO] [stdout]      = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `LightComponent`, which is not FFI-safe
[INFO] [stdout]     --> src/sys/gu.rs:2552:52
[INFO] [stdout]      |
[INFO] [stdout] 2552 | pub unsafe extern "C" fn sceGuMaterial(components: LightComponent, color: u32) {
[INFO] [stdout]      |                                                    ^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]      |
[INFO] [stdout]      = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]      = note: this struct has unspecified layout
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]     --> src/sys/gu.rs:486:1
[INFO] [stdout]      |
[INFO] [stdout] 486  | / bitflags::bitflags!(
[INFO] [stdout] 487  | |     /// Light Components
[INFO] [stdout] 488  | |     pub struct LightComponent: i32 {
[INFO] [stdout] 489  | |         const AMBIENT = 1;
[INFO] [stdout] ...    |
[INFO] [stdout] 495  | |     }
[INFO] [stdout] 496  | | );
[INFO] [stdout]      | |__^
[INFO] [stdout]      = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `gu::VertexType`, which is not FFI-safe
[INFO] [stdout]     --> src/sys/gu.rs:3219:13
[INFO] [stdout]      |
[INFO] [stdout] 3219 |     v_type: VertexType,
[INFO] [stdout]      |             ^^^^^^^^^^ not FFI-safe
[INFO] [stdout]      |
[INFO] [stdout]      = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]      = note: this struct has unspecified layout
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]     --> src/sys/gu.rs:83:1
[INFO] [stdout]      |
[INFO] [stdout] 83   | / bitflags::bitflags! {
[INFO] [stdout] 84   | |     /// The vertex type decides how the vertices align and what kind of
[INFO] [stdout] 85   | |     /// information they contain.
[INFO] [stdout] 86   | |     pub struct VertexType: i32 {
[INFO] [stdout] ...    |
[INFO] [stdout] 154  | |     }
[INFO] [stdout] 155  | | }
[INFO] [stdout]      | |_^
[INFO] [stdout]      = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `gu::VertexType`, which is not FFI-safe
[INFO] [stdout]     --> src/sys/gu.rs:3278:13
[INFO] [stdout]      |
[INFO] [stdout] 3278 |     v_type: VertexType,
[INFO] [stdout]      |             ^^^^^^^^^^ not FFI-safe
[INFO] [stdout]      |
[INFO] [stdout]      = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]      = note: this struct has unspecified layout
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]     --> src/sys/gu.rs:83:1
[INFO] [stdout]      |
[INFO] [stdout] 83   | / bitflags::bitflags! {
[INFO] [stdout] 84   | |     /// The vertex type decides how the vertices align and what kind of
[INFO] [stdout] 85   | |     /// information they contain.
[INFO] [stdout] 86   | |     pub struct VertexType: i32 {
[INFO] [stdout] ...    |
[INFO] [stdout] 154  | |     }
[INFO] [stdout] 155  | | }
[INFO] [stdout]      | |_^
[INFO] [stdout]      = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `gu::VertexType`, which is not FFI-safe
[INFO] [stdout]     --> src/sys/gu.rs:3425:13
[INFO] [stdout]      |
[INFO] [stdout] 3425 |     v_type: VertexType,
[INFO] [stdout]      |             ^^^^^^^^^^ not FFI-safe
[INFO] [stdout]      |
[INFO] [stdout]      = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]      = note: this struct has unspecified layout
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]     --> src/sys/gu.rs:83:1
[INFO] [stdout]      |
[INFO] [stdout] 83   | / bitflags::bitflags! {
[INFO] [stdout] 84   | |     /// The vertex type decides how the vertices align and what kind of
[INFO] [stdout] 85   | |     /// information they contain.
[INFO] [stdout] 86   | |     pub struct VertexType: i32 {
[INFO] [stdout] ...    |
[INFO] [stdout] 154  | |     }
[INFO] [stdout] 155  | | }
[INFO] [stdout]      | |_^
[INFO] [stdout]      = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `gu::VertexType`, which is not FFI-safe
[INFO] [stdout]    --> src/sys/gum.rs:76:13
[INFO] [stdout]     |
[INFO] [stdout] 76  |     v_type: sys::VertexType,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]     = note: this struct has unspecified layout
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]    --> src/sys/gu.rs:83:1
[INFO] [stdout]     |
[INFO] [stdout] 83  | / bitflags::bitflags! {
[INFO] [stdout] 84  | |     /// The vertex type decides how the vertices align and what kind of
[INFO] [stdout] 85  | |     /// information they contain.
[INFO] [stdout] 86  | |     pub struct VertexType: i32 {
[INFO] [stdout] ...   |
[INFO] [stdout] 154 | |     }
[INFO] [stdout] 155 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `gu::VertexType`, which is not FFI-safe
[INFO] [stdout]    --> src/sys/gum.rs:89:13
[INFO] [stdout]     |
[INFO] [stdout] 89  |     v_type: sys::VertexType,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]     = note: this struct has unspecified layout
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]    --> src/sys/gu.rs:83:1
[INFO] [stdout]     |
[INFO] [stdout] 83  | / bitflags::bitflags! {
[INFO] [stdout] 84  | |     /// The vertex type decides how the vertices align and what kind of
[INFO] [stdout] 85  | |     /// information they contain.
[INFO] [stdout] 86  | |     pub struct VertexType: i32 {
[INFO] [stdout] ...   |
[INFO] [stdout] 154 | |     }
[INFO] [stdout] 155 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `gu::VertexType`, which is not FFI-safe
[INFO] [stdout]    --> src/sys/gum.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |     v_type: sys::VertexType,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]     = note: this struct has unspecified layout
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]    --> src/sys/gu.rs:83:1
[INFO] [stdout]     |
[INFO] [stdout] 83  | / bitflags::bitflags! {
[INFO] [stdout] 84  | |     /// The vertex type decides how the vertices align and what kind of
[INFO] [stdout] 85  | |     /// information they contain.
[INFO] [stdout] 86  | |     pub struct VertexType: i32 {
[INFO] [stdout] ...   |
[INFO] [stdout] 154 | |     }
[INFO] [stdout] 155 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `gu::VertexType`, which is not FFI-safe
[INFO] [stdout]    --> src/sys/gum.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |     v_type: sys::VertexType,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct
[INFO] [stdout]     = note: this struct has unspecified layout
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]    --> src/sys/gu.rs:83:1
[INFO] [stdout]     |
[INFO] [stdout] 83  | / bitflags::bitflags! {
[INFO] [stdout] 84  | |     /// The vertex type decides how the vertices align and what kind of
[INFO] [stdout] 85  | |     /// information they contain.
[INFO] [stdout] 86  | |     pub struct VertexType: i32 {
[INFO] [stdout] ...   |
[INFO] [stdout] 154 | |     }
[INFO] [stdout] 155 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `dyn BoxMeUp`, which is not FFI-safe
[INFO] [stdout]    --> src/panic.rs:120:31
[INFO] [stdout]     |
[INFO] [stdout] 120 | extern fn rust_panic(mut msg: &mut dyn BoxMeUp) -> ! {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = note: trait objects have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 29 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "7b58a719efe31496798c6754b1c34d046613978f65868fd2b39abfe3f8c0fd23", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b58a719efe31496798c6754b1c34d046613978f65868fd2b39abfe3f8c0fd23", kill_on_drop: false }`
[INFO] [stdout] 7b58a719efe31496798c6754b1c34d046613978f65868fd2b39abfe3f8c0fd23
